package com.twu.biblioteca;

public class Movies {
    public String getName() {
        return name;
    }

    private String name;

    public String getDirector() {
        return director;
    }

    private String director;

    public int getYear() {
        return year;
    }

    private int year;

    public int getMovierating() {
        return movierating;
    }

    private int movierating;

    public Movies(String name, String director, int year, int movierating)//passed
    {
        this.name = name;
        this.director = director;
        this.year = year;
        this.movierating = movierating;
    }

    public Movies() {
        this.name = null;
        this.director = null;
        this.year = 0;
        this.movierating = 0;
    }
}
